<style scoped>
  .register{
    height:100%;
    background: #edf1f5;
  }
  .header{
    display: flex;
    flex-direction: column;
  }
  .head-top{
    width:100%;
    height:10px;
    background: transparent;
  }
  input{
    border:none;
  }
  .head{
    height:50px;
    display: flex;
    justify-content: center;
    align-items:center;
    border-bottom: 1px solid #E9E9E9;
    box-sizing: border-box;
    background: #ffffff;
  }
  .head-left{
    position: absolute;
    width:40px;
    height:100%;
    left:0;
    top:0;
    color: #7f7a8e;
    text-align: center;
  }
  .head-left h1{
    margin-top: 22px;
  }
  .head-middle{
    font-size: 16px;
  }
  .head-right{
    position: absolute;
    right:10px;
    top:15px;
  }
  .content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 80px;
    /*height:100%;*/
  }
  .content>h3{
    margin-bottom: 20px;
  }
  .submit{
    width:100%;
  }
  .submit a{
    height:100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    background: #4D66FF;
    border-radius: 10px;
    padding:8px 0;
  }
  .submit h3{
    color: #ffffff;
  }
</style>

<template>
  <div class="register" ref="nana">
    <div class="header">
      <div class="head-top"></div>
      <div class="head">
        <div class="head-left" @click="goBack"><h1 class="iconfont icon-xiangzuo1"></h1></div>
        <div class="head-middle"><h3>注册账户</h3></div>
      </div>
    </div>

    <div class="content">
      <h3>重置登录密码</h3>
      <div class="submit" @click="next">
        <router-link to=""><h3>确认修改</h3></router-link>
      </div>
    </div>
  </div>
</template>

<script>
  import axios from 'axios'
  export default {
    data () {
      return {
        verificationCode: null,
        account: null
      }
    },
    mounted () {
      let h = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight
      let h1 = h
      this.$refs.nana.style.height = h1 + 'px'
    },
    methods: {
      goBack () {
        this.$router.go(-1)
      },
      send () {

      },
      next () {
        this.$router.push({'path':'/confirmChange'})
      }
    }
  }
</script>

